package com.lxy.u4day01.controller;

import com.lxy.u4day01.entity.Person;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    /*@Autowired
    private Person person;

    @Value("${ips[1]}")
    private String ip;

    @Value("${student[1].name}")
    private String  per;

    @RequestMapping("test01")
    public Person test01(){
        return person;
    }

    @RequestMapping("test02")
    public String test02(){
        return ip;
    }

    @RequestMapping("test03")
    public String test03(){
        return per;
    }*/
}
